package models

import (
	"time"

	"github.com/astaxie/beego/orm"
)

type TimeModel struct {
	Created time.Time `orm:"auto_now_add; type(datetime)"`
	Updated time.Time `orm:"auto_now; type(datetime)"`
}

type ylTask struct {
	Id         int
	Company    int
	TaskName   string
	RunStatus  string
	SpeechId   int
	ServiceNum int
	RobotNum   int
	TimeModel
}

func ListTaskInfo(companyId int) {

}

func RegTaskInfo() {
	orm.RegisterModel(new(ylTask))
}
